﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YTCMS.Domain.Entities;

namespace YTCMS.Data.Configuration
{
    public class TestConfiguration : EntityTypeConfiguration<test>
    {
        public TestConfiguration()
        {
            this.ToTable("test").HasKey(t => t.Id).Property(t => t.Name).HasMaxLength(50);
        }
    }
}
